from django.urls import path, include
from rest_framework import routers
from archive.views import *

urlpatterns = [
    path('dashboard/', DashboardView.as_view()),
    path('analysis/', AnalysisView.as_view()),
    path('reportdata/', ReportManageAnalysisView.as_view()),
]
router = routers.SimpleRouter()
router.register('report', ReportView)
router.register('batch', BatchView)
router.register('result', CheckResultView)
router.register('patient', PatientView)

urlpatterns += router.urls
